package com.example.springboot.service;

import com.example.springboot.pojo.Department;

import java.util.List;

public interface DepartmentService {

    Department findDepartment(String department);
    List<Department> getAllDepartment();

    void addDepartment(String department);

    void deleteDepartment(Integer id);

    void updateDepartment(Integer id, String department);
}
